﻿CREATE FUNCTION [dbo].[IsTagPublic]
(
	@tag NVARCHAR(32)
)
RETURNS BIT
AS
BEGIN
	DECLARE @result BIT
	IF @tag = N'ul' OR @tag = N'p'
		SET @result = 0
	ELSE
		SET @result = 1

	RETURN @result
END
